package com.haiyu.manager.service;

import com.haiyu.manager.dto.Category1DTO;
import com.haiyu.manager.pojo.Category1;
import com.haiyu.manager.response.PageDataResult;

import java.util.List;
import java.util.Map;


public interface Category1Service {



    /////////////////////////////////////////////////////////////////
    PageDataResult geCategory1List(Integer pageNum, Integer pageSize);

    List<Category1DTO> getCategory1s();

    Category1 findCateory1ById(Integer category1Id);

    Map<String,Object> updateCategory1(Category1 category1);

    Map<String,Object> delCategory1(Integer category1Id,Integer status);

    Map<String,Object> recoverCategory1(Integer category1Id,Integer status);

    Map<String,Object> addCategory1(Category1 category1);


}
